package com.coder.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *为各个波段设置报警波长 
 * @author founder
 */
@Entity
@Table(name="wavethreshold")
public class WaveThreshold {
	private int waveVal;
	private float threshold;
	
	@Id
	@Column(name="waveval")
	public int getWaveVal() {
		return waveVal;
	}
	public void setWaveVal(int waveVal) {
		this.waveVal = waveVal;
	}
	
    @Column(name="threshold")
	public float getThreshold() {
		return threshold;
	}
	public void setThreshold(float threshold) {
		this.threshold = threshold;
	}

	//设置无参构造函数
	public WaveThreshold(){}
	
	public WaveThreshold(int waveVal, float threshold) {
		super();
		this.waveVal = waveVal;
		this.threshold = threshold;
	}
}
